package com.som.service.excel.data3.state;

import java.util.ArrayList;
import java.util.List;

import com.som.bean.data3.IpAddressInfo;

public class TestMain
{
	public static void main(String[] args)
	{
		StateContext contex = new StateContext();
		
		List<IpAddressInfo> list = new ArrayList<IpAddressInfo>();
		
		IpAddressInfo ip = new IpAddressInfo();
		ip.setIpaddress("111/mask");
		list.add(ip);
		
		IpAddressInfo ip2 = new IpAddressInfo();
		ip2.setIpaddress("1112/mask");
		list.add(ip2);
		
		System.out.println(contex.parseIpMask("1", list));
	}
}
